package com.kch.system.mapper;

import com.kch.system.domain.Activity;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ActivityMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Activity record);

    int insertSelective(Activity record);

    Activity selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Activity record);

    int updateByPrimaryKeyWithBLOBs(Activity record);

    int updateByPrimaryKey(Activity record);

    List<Activity> selectMeetingPage(Activity activity);

    int updateStatus(@Param("id") Integer id, @Param("status") String status);

    List<Activity> selectByCode(@Param("code") String code, @Param("tag")String tag);
}